#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Description: 稳定性测试相关
from modules.check import Check
from modules.qaction import QAction
from modules.qanno import replicas_double
from modules.qbench import QBench
from utils.logger import Logger

log = Logger()


class QDFSStability:
    def __init__(self, parse_args):
        """
        传入指令值
        :param parse_args:
        """
        self.mode = parse_args.mode
        self.point = parse_args.point
        self.replicas = parse_args.replicas
        self.failgroup = parse_args.failgroup
        self.action = QAction(parse_args)
        self.bench = QBench(parse_args)
        self.check = Check(parse_args)

    @replicas_double(order=1, description="双副本拔一组failgroup中的所有盘", scene="stability")
    def test_remove_failgroup_all_disk(self):
        print("稳定性测试")
